Vendidero\Germanized\Shipments\Order D

Total Complexity 157
Dependencies 10
Dependents 1
Total lines 965
Lines of code 537
Logical lines of code 283
Comment lines 254
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
validate_shipment_item_quantities()
A
45 13 40
get_item_quantity_left_for_shipping()
A
46 13 38
get_available_items_for_shipment()
A
48 10 34
get_item_quantity_left_for_returning()
A
51 9 27
get_available_items_for_return()
A
50 8 29
get_items_to_pack_left_for_shipping()
A
51 8 26
get_return_status()
S
58 6 16
get_shippable_items()
S
59 6 13
get_returnable_items()
S
56 5 18
calculate_shipment_additional_total()
S
56 5 18
get_shipping_status()
S
58 5 16
get_simple_shipments()
S
62 5 12
needs_shipping()
S
55 4 20
validate_shipments()
S
57 4 18
get_date_shipped()
S
57 4 18
get_item_quantity_sent_by_order_item_id()
S
61 4 13
get_default_return_shipping_provider()
S
62 4 11
needs_return()
S
58 3 17
save()
S
65 4 10
has_local_pickup()
S
61 3 12
get_shipment()
S
65 3 9
get_shipments()
S
59 2 15
has_shipped_shipments()
S
66 3 9
get_simple_shipment_item()
S
67 3 8
get_return_shipments()
S
66 3 9
remove_shipment()
S
63 3 10
item_needs_shipping()
S
61 2 13
item_needs_return()
S
61 2 13
get_returnable_item_count()
S
68 2 7
__call()
S
70 2 6
get_shippable_item_count()
S
68 2 7
get_shippable_item_quantity()
S
65 2 8
delete_order_return_request_key()
S
77 1 4
get_order_return_request_key()
S
80 1 3
get_order()
S
82 1 3
add_shipment()
S
76 1 4
__construct()
S
81 1 3